#[no_mangle]
pub extern "C" fn hello_from_rust(name: *const std::os::raw::c_char) {
    let c_str = unsafe { std::ffi::CStr::from_ptr(name) };
    println!("Hello, {} from Rust!", c_str.to_str().unwrap());
}

#[no_mangle]
pub extern "C" fn hello_from_rust_static(name: *const std::os::raw::c_char) {
    let c_str = unsafe { std::ffi::CStr::from_ptr(name) };
    println!("Hello, {} from Rust Static!", c_str.to_str().unwrap());
}